From 4809ab6f092677c0f7d983f0bf968d9ec105095a Mon Sep 17 00:00:00 2001 From: Ewan Mellor Date: Thu, 26 Oct 2006 15:53:31 +0100 Subject: [PATCH] Implement new VMX feature flag. Signed-off-by: Ewan Mellor --- tools/libxen/include/xen_cpu_feature.h | 7 ++++++- tools/libxen/src/xen_cpu_feature.c | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/tools/libxen/include/xen_cpu_feature.h b/tools/libxen/include/xen_cpu_feature.h index 675d7dc952..6e0614a8ac 100644 --- a/tools/libxen/include/xen_cpu_feature.h +++ b/tools/libxen/include/xen_cpu_feature.h @@ -338,7 +338,12 @@ enum xen_cpu_feature /** * If yes HyperThreading not valid */ - XEN_CPU_FEATURE_CMP_LEGACY + XEN_CPU_FEATURE_CMP_LEGACY, + + /** + * VMX instruction set + */ + XEN_CPU_FEATURE_VMX }; diff --git a/tools/libxen/src/xen_cpu_feature.c b/tools/libxen/src/xen_cpu_feature.c index c955c14982..98fb64f9e3 100644 --- a/tools/libxen/src/xen_cpu_feature.c +++ b/tools/libxen/src/xen_cpu_feature.c @@ -90,7 +90,8 @@ static const char *lookup_table[] = "XCRYPT", "XCRYPT_EN", "LAHF_LM", - "CMP_LEGACY" + "CMP_LEGACY", + "VMX" }; -- 2.30.2